package com.jiangxiaofei.citycloud.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/8/30 0030.
 */

public class RecruitInfoBean implements Parcelable {
    private String title;//标题
    private double latitude; //纬度
    private double longitude;//经度

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.title);
        dest.writeDouble(this.latitude);
        dest.writeDouble(this.longitude);
    }

    public RecruitInfoBean() {
    }

    protected RecruitInfoBean(Parcel in) {
        this.title = in.readString();
        this.latitude = in.readDouble();
        this.longitude = in.readDouble();
    }

    public static final Parcelable.Creator<RecruitInfoBean> CREATOR = new Parcelable.Creator<RecruitInfoBean>() {
        @Override
        public RecruitInfoBean createFromParcel(Parcel source) {
            return new RecruitInfoBean(source);
        }

        @Override
        public RecruitInfoBean[] newArray(int size) {
            return new RecruitInfoBean[size];
        }
    };
}
